<?php

use Hyperf\Database\Schema\Schema;
use Hyperf\Database\Schema\Blueprint;
use Hyperf\Database\Migrations\Migration;

class CreateSystemAnnexGroupTable extends Migration
{
    /**
     * Run the migrations.
     */
    public function up(): void
    {
        Schema::create('system_annex_group', function (Blueprint $table) {
            $table->increments('id')->comment('ID');
            $table->string('group_name',30)->nullable()->default(null)->comment('组名称');
            $table->comment('系统附件组表');
        });
    }

    /**
     * Reverse the migrations.
     */
    public function down(): void
    {
        Schema::table('system_annex_group', function (Blueprint $table) {
            //
        });
    }
}
